/**
 * 二级页
 */

// -------------------------------二级页------------------------------------
if(location.href == "http://tyjrt.jl.gov.cn/hd/jzxx/xxlb/"){

	_EsdDynamicTransformationScript.iframeInputInterval = setInterval(function(){	
		if(document.getElementsByTagName("iframe")[0].contentWindow.document.getElementById("SubmitButton")!=undefined){
			clearInterval(_EsdDynamicTransformationScript.iframeInputInterval);
			
			var inputIframe = document.getElementsByTagName("iframe")[0].contentWindow.document;
			
		    $(inputIframe).find("#frmData input:eq(0)").attr({title: "姓名",placeholder:"姓名"});
		    $(inputIframe).find("#frmData select:eq(0)").attr({title: "性别",placeholder:"性别"});
			$(inputIframe).find("#frmData input:eq(1)").attr({title: "联系地址",placeholder:"联系地址"});
			$(inputIframe).find("#frmData input:eq(2)").attr({title: "邮政编码",placeholder:"邮政编码"});
			$(inputIframe).find("#frmData input:eq(3)").attr({title: "电子邮箱",placeholder: "电子邮箱"});
			$(inputIframe).find("#frmData input:eq(4)").attr({title: "联系电话",placeholder: "联系电话"});
			$(inputIframe).find("#frmData input:eq(5)").attr({title: "提交时间",placeholder: "提交时间"});
			$(inputIframe).find("#frmData input:eq(6)").attr({title: "标题",placeholder: "标题"});
			
			$(inputIframe).find("#frmData input:eq(7)").attr({title: "公开",placeholder: "公开"});
			$(inputIframe).find("#frmData input:eq(8)").attr({title: "不公开",placeholder: "不公开"});
			
			$(inputIframe).find("#frmData textarea:eq(0)").attr({title: "内容",placeholder:"内容"});
			
			$(inputIframe).find("#SubmitButton").attr({title: "提交"});
			$(inputIframe).find("#ResetButton").attr({title: "重置"});
		    
		}	
	}, 500);
	
}
	
	
if(location.href == "http://tyjrt.jl.gov.cn/hd/jcjj/jclb/"){

	_EsdDynamicTransformationScript.iframeInputInterval = setInterval(function(){	
		if(document.getElementsByTagName("iframe")[0].contentWindow.document.getElementById("SubmitButton")!=undefined){
			clearInterval(_EsdDynamicTransformationScript.iframeInputInterval);
			
			var inputIframe = document.getElementsByTagName("iframe")[0].contentWindow.document;
			
		    $(inputIframe).find("#frmData input:eq(0)").attr({title: "姓名",placeholder:"姓名"});
			$(inputIframe).find("#frmData input:eq(1)").attr({title: "身份证号",placeholder:"身份证号"});
			$(inputIframe).find("#frmData input:eq(2)").attr({title: "联系电话",placeholder:"联系电话"});
			$(inputIframe).find("#frmData input:eq(3)").attr({title: "电子邮箱",placeholder: "电子邮箱"});
			$(inputIframe).find("#frmData input:eq(4)").attr({title: "举报人职级",placeholder: "举报人职级"});
			$(inputIframe).find("#frmData input:eq(5)").attr({title: "现居住地址",placeholder: "现居住地址"});
			
			$(inputIframe).find("#frmData input:eq(6)").attr({title: "被举报人",placeholder: "被举报人"});
			$(inputIframe).find("#frmData input:eq(7)").attr({title: "被举报人部门",placeholder: "被举报人部门"});
			$(inputIframe).find("#frmData input:eq(8)").attr({title: "被举报人职务",placeholder: "被举报人职务"});
			$(inputIframe).find("#frmData input:eq(9)").attr({title: "被举报人职级",placeholder: "被举报人职级"});
			
			$(inputIframe).find("#frmData input:eq(10)").attr({title: "标题",placeholder: "标题"});
			
			$(inputIframe).find("#frmData select:eq(0)").attr({title: "选择政治面貌"});
			$(inputIframe).find("#frmData select:eq(1)").attr({title: "选择问题类别"});
			
			$(inputIframe).find("#frmData textarea:eq(0)").attr({title: "内容",placeholder:"内容"});
			
			$(inputIframe).find("#SubmitButton").attr({title: "提交"});
			$(inputIframe).find("#ResetButton").attr({title: "重置"});
		    
		}	
	}, 500);
	
}


